home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / misc_pto / bcalc / boah.doc next >
Text File  |  1986-03-17  |  4KB  |  77 lines

  1.                     BoahCalc Utility Program
  2.                     <c> 1985 by Debbie Cooper
  3.                            Version 2.0
  4.  
  5.  
  6.      BoahCalπá i≤á ß machinσ languagσ prograφ tha⌠ allow≤ yo⌡á t∩ ì
  7. perforφ addition¼á subtraction¼á multiplication¼á divisioε anΣá ß ì
  8. hos⌠ oµ bi⌠ manipulatioε functions«  Thesσ function≤ includσ XOR¼ ì
  9. OR¼á SHR¼á SAL¼ SHL¼ ROL¼ AND¼ NOT¼ RCL¼ SAR¼ RCR¼ anΣ ROR« Thosσ ì
  10. wh∩á writσ assembl∙ languagσ o≥ BASI├ program≤ fo≥ thσ Tand∙ 100░ ì
  11. o≥á othe≥ IB═ compatiblσ system≤ wil∞ appreciatσ thσ widσ usσá t∩ ì
  12. whicΦ BoahCalπ caε bσ pu⌠ a≤ thσ result≤ arσ readil∙ visible«
  13.      Thσáá BoahCalπáá prograφá (shor⌠áá fo≥áá Binary-Octal-Ascii-ì
  14. Hexadecima∞á Calculator⌐á i≤ supplieΣ oε ßá diskettσá alonτá witΦ ì
  15. anothe≥á filσ calleΣ BOAHCALC.BUF«á  Thi≤ filσ mus⌠ bσ presen⌠ oε ì
  16. thσá backu≡á cop∙ a⌠ al∞ time≤ iε orde≥ fo≥ thσ prograφá t∩á worδ ì
  17. correctly.
  18.      Wheε BoahCalπ i≤ firs⌠ executed¼á yo⌡ wil∞ bσ presenteΣ witΦ ì
  19. ß screeε displa∙ whicΦ show≤ thσ curren⌠ values¼ typicall∙ se⌠ t∩ ì
  20. zeros¼ fo≥ Value≤ A¼ ┬ anΣ ├ respectively«  Oε thσ bottoφ halµ oµ ì
  21. thσá displayá thσá variou≤ function≤ tha⌠ caε bσá performeΣá arσ ì
  22. shown¼á a≤á wel∞á a≤á thσ functioε ke∙á command≤á t∩á invokσá thσ ì
  23. functions.
  24.  
  25. Inputting Values
  26.  
  27.      Beforσá an∙ functioε caε bσ performed¼á thσ use≥ mus⌠á ente≥ ì
  28. onσá o≥á botΦá value≤ ┴ anΣ B«á  Notσ tha⌠á somσá function≤á onl∙ ì
  29. requirσá onσá valuσ tha⌠ wil∞ bσ workeΣ on¼á other≤ requirσá botΦ ì
  30. Value A and B before the result can be displayed as Value C.
  31.      Thσá prograφá automaticall∙ default≤ t∩ thσá inpu⌠á modσá oµ ì
  32. asciΘ decimal¼ howeve≥ thσ use≥ ma∙ changσ thi≤ b∙ usinτ functioε ì
  33. ke∙á F5«á  Yo⌡ wil∞ bσ prompteΣ t∩ ente≥ thσ lette≥ oµ thσá inpu⌠ ì
  34. modσá yo⌡ wisΦ t∩ use¼á B=Binary¼á O=Octal¼á A=AsciΘ Decimal¼á o≥ ì
  35. H=Hexadecimal«á  Thσá methoΣ oµ inpu⌠ tha⌠ yo⌡ requesteΣ wil∞á bσ ì
  36. shown on the sixth line of the video screen.
  37.      Yo⌡ arσ no≈ read∙ t∩ inpu⌠ ß numbe≥ fo≥ valuσ A«  T∩ d∩ thi≤ ì
  38. depres≤á functioε ke∙ F1«á  Thσ curso≥ wil∞ bσ positioneΣá besidσ ì
  39. thσ Valuσ ┴ promp⌠ iε thσ to≡ oµ thσ display«á  Ente≥ you≥ digit≤ ì
  40. anΣ pres≤ <ENTER╛ t∩ signif∙ enΣ oµ input«á  Thσá binary¼á octal¼ ì
  41. decima∞á anΣá hexadecima∞á equivalent≤ wil∞ bσ displayeΣá oεá thσ ì
  42. screen«á  T∩á inpu⌠á ßá numbe≥ fo≥á valuσá B¼á follo≈á thi≤á samσ ì
  43. procedure.
  44.  
  45. Invoking Functions
  46.  
  47.      Afte≥á yo⌡ havσ entereΣ value≤ fo≥ valuσ ┴ (and/o≥ valuσá B⌐ ì
  48. yo⌡á ma∙á perforφá an∙ onσ oµ thσ function≤ listeΣ oεá thσá vide∩ ì
  49. display«áá  Firs⌠á yo⌡á mus⌠á selec⌠á whicΦá functioεá yo⌡áá wan⌠ ì
  50. performed«á  T∩á d∩á thi≤á depres≤ functioε ke∙á F3«á  Thσá firs⌠ ì
  51. function¼á ADD¼ wil∞ bσ displayeΣ a≤ reversσ video«  Yo⌡ ma∙ movσ ì
  52. thσá 'blockº usinτ thσ left¼á right¼á u≡ anΣ dowε arrow≤á t∩á thσ ì
  53. particula≥ functioε yo⌡ wan⌠ t∩ execute«  Pres≤ <ENTER╛ t∩ selec⌠ ì
  54. the function.  
  55.      Fo≥á example¼á iµá yo⌡á haΣ selecteΣ t∩ AD─ value≤ ┴á anΣá ┬ ìètogether¼á yo⌡ woulΣ depres≤ thσ F│ functioε key¼á pres≤á <ENTER╛ ì
  56. anΣá thσ tota∞ oµ value≤ ┴ anΣ ┬ woulΣ bσ displayeΣ a≤ valuσ ├ oε ì
  57. the video screen.
  58.      Thosσá function≤á tha⌠ requirσ onl∙ valuσ ┴ iε orde≥á t∩á bσ ì
  59. invoked also display their result in value C.
  60.  
  61. F6 - Move Value C to Value A
  62.  
  63.      Thi≤á functioεá ke∙á wheεá depressed¼á wil∞á substitutσá thσ ì
  64. curren⌠ valuσ oµ ├ anΣ cop∙ i⌠ int∩ valuσ A«  S∩ if¼ fo≥ example¼ ì
  65. yo⌡á wisΦá t∩ selec⌠ functioε SH╥ (shif⌠ right⌐ oε valuσá A¼á yo⌡ ì
  66. wil∞ havσ moveΣ i⌠ onσ bi⌠ t∩ thσ right«  Thσ ne≈ valuσ o≥ resul⌠ ì
  67. oµ thi≤ operatioε wil∞ bσ displayeΣ a≤ valuσ C«á  Iµ yo⌡ wan⌠á t∩ ì
  68. displa∙ ß seconΣ SH╥ operatioε oε thi≤ samσ value¼á theε yo⌡ mus⌠ ì
  69. firs⌠á usσ thσ functioε ke∙ F╢ t∩ transfe≥ thσ ne≈ valuσ t∩ valuσ ì
  70. ┴á anΣá subsequentl∙á perforφá anothe≥á SH╥á operatioεá oεáá tha⌠ ì
  71. variable.
  72.  
  73.        Abort Program
  74.  
  75.      T∩ returε contro∞ t∩ MS-DOS¼á simpl∙ depres≤ thσ F┤ functioε ì
  76. key.
  77.